package www.openteam.com.contract.business;

import www.openteam.com.bean.InsertStatus;

/**
 * Created by kylin on 2017/7/6.
 */

public class InsertCustomInfoContract {
//    String code = customno.getText().toString();
//    String name = customname.getText().toString();
//    String CreditNumb = infoamout.getText().toString();
//    String BusinessMan = businessman.getText().toString();
//    String SendAddress = address.getText().toString();
//    String cTel = phone.getText().toString();
//    String connecter = contact_custom.getText().toString();
//    String ctype = returnCode(customTypes, custom_type.getSelectedItemPosition());
//    String paytime = returnCode(copayTypes, paytype.getSelectedItemPosition());
//    String mtype = returnCode(moneyTypes, moneytype.getSelectedItemPosition());

    public interface InsertCustomInfoView {
        String getCode();

        String getName();

        String getCreditNumb();

        String getBusinessMan();

        String getSendAddress();

        String getCTel();

        String getConnecter();

        String getCType();

        String getPayTime();

        String getMType();


        void insertCIData(InsertStatus insertStatus);

        void hideCIData(Throwable throwable);

    }

    public interface InsertCustomInfoPresenter {
        void insertCustomInfo(String code, String name,
                              String type, String paytime,
                              String moneytype, String SendAddress,
                              String connecter, String BusinessMan,
                              String CreditNumb, String cTel);
    }


}
